<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Task_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-task_id" data-rule="required" data-source="task/index" class="form-control selectpage" name="row[task_id]" type="text" value="{$row.task_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remind_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-remind_type" data-rule="required" class="form-control selectpicker" name="row[remind_type]">
                {foreach name="remindTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.remind_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remind_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remind_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[remind_date]" type="text" value="{$row.remind_date}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quotation_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quotation_no" class="form-control" name="row[quotation_no]" type="text" value="{$row.quotation_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-work_no" class="form-control" name="row[work_no]" type="text" value="{$row.work_no}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="{$row.title}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control editor" rows="5" name="row[content]" cols="50">{$row.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Task_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="taskStatusList" item="vo"}
            <label for="row[task_status]-{$key}"><input id="row[task_status]-{$key}" name="row[task_status]" type="radio" value="{$key}" {in name="key" value="$row.task_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Maintenanceuser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-maintenanceuser_id" data-rule="required" data-source="maintenanceuser/index" class="form-control selectpage" name="row[maintenanceuser_id]" type="text" value="{$row.maintenanceuser_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handleuser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-handleuser_id" data-rule="required" data-source="handleuser/index" class="form-control selectpage" name="row[handleuser_id]" type="text" value="{$row.handleuser_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Notifyuser_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-notifyuser_ids" data-rule="required" data-source="notifyuser/index" data-multiple="true" class="form-control selectpage" name="row[notifyuser_ids]" type="text" value="{$row.notifyuser_ids}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Notify_msg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-notify_msg" class="form-control" name="row[notify_msg]" type="text" value="{$row.notify_msg}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Luruman')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-luruman" class="form-control" name="row[luruman]" type="text" value="{$row.luruman}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
